package com.zzyl.nursing.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zzyl.nursing.mapper.MemberOrdersMapper;
import com.zzyl.nursing.service.MemberOrdersService;
import com.zzyl.serve.domain.NursingProject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MemberOrdersServiceImpl extends ServiceImpl<MemberOrdersMapper, NursingProject> implements MemberOrdersService {
    @Autowired
    private MemberOrdersMapper memberOrdersMapper;

    @Override
    public List<NursingProject> selectNursingProjectList(NursingProject nursingProject) {
        return memberOrdersMapper.selectNursingProjectList(nursingProject);
    }

    @Override
    public NursingProject selectNursingProjectById(Long id) {
        return getById(id);
    }
}
